import request from "@/utils/request";

//获取轮播图
export const getBannerApi = () => {
  return request.get("/home/banner");
};
//获取新鲜好物列表
export const getNewGoodsApi = () => {
  return request.get("/home/new");
};
//获取人气推荐列表
export const getHotGoodsApi = () => {
  return request.get("/home/hot");
};
//获取商品列表
export const getGoodsListApi = () => {
  return request.get("/home/category/head");
};
//获取商品分类
export const getCateGory = () => {
  return request.get("/home/category/head");
};
